﻿@using Downloader.Web.Controllers
@using Downloader.Web.Controllers.Admin
@model Downloader.Web.Controllers.ViewModels.CategoryViewModel
@using (Html.BeginForm("SaveOrUpdate", "Category", FormMethod.Post, new { id = "categoryForm" }))
{
    @Html.HiddenFor(c => c.Id)

    <table cellspacing="0" cellpadding="0" style="padding: 0px; margin: 0px;width: 100%;">
        <tbody>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 类型</b></p>
                </td>
                <td>
                    <p>
                        @Html.DropDownListFor(c => c.CategoryType)
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 名称</b></p>
                </td>
                <td>
                    <p>
                      @Html.TextBoxFor(c => c.Name,new{style="width:300px;"})
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 排序</b></p>
                </td>
                <td>
                    <p>
                       @Html.TextBoxFor(c => c.Sequence,new{style="width:300px;"})
                    </p>
                </td>
            </tr>
             <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 介绍</b></p>
                </td>
                <td>
                    <p>
                     @Html.TextAreaFor(c => c.Introduction,new{style="width:300px;"})
                    </p>
                </td>
            </tr>
        </tbody>
    </table>
}
